import ipc from '~/lib/ipc.coffee'
import config from '~/store/record.coffee'

{rec} = ipc

ARGS = 'src,audio,video,area'.split ','

export default =>
  rec(...config[i] for i from ARGS)
  return

